lib: Add ostree_sysroot_init_osname() API, bump mtime
authorColin Walters <walters@verbum.org>
Thu, 3 Mar 2016 16:39:33 +0000 (11:39 -0500)
committerColin Walters <walters@verbum.org>
Thu, 3 Mar 2016 19:21:57 +0000 (14:21 -0500)
commitfbd9409ebb76c66c5fa33c207f97807deb70951e
tree7392e38a48254f2dbb48e49f7fff9cc91a1cadd2
parent7ace5d35bd8b9d4d407b725518497df425376573
lib: Add ostree_sysroot_init_osname() API, bump mtime

And change the command line to use it.  rpm-ostree had a copy
of this code, and thus there's a clear reason to have an API.

While we're moving this into API, ensure the mtime on deploy is bumped
after an osname is created, so that daemons like rpm-ostree can notice
changes.  (In reality, creating the directory should do this, but
let's be double sure)
apidoc/ostree-sections.txt
src/libostree/libostree.sym
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
src/libostree/ostree-sysroot.h
src/ostree/ot-admin-builtin-os-init.c